package zlatan_demo03_object

object ClassDemo02 {
  //单例对象中定义方法
  object printutil {
    def printSpider():Unit=println("-"*15)
  }

  def main(args: Array[String]): Unit = {
    printutil.printSpider()
  }
}
